package com.example.pceb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("resources")
public class Resources {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String type;
    private String description;
    private String ownerUsername;
    private Boolean isBorrowed;
    private Timestamp uploadTime;
}
